﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PostCollection.cs" company="LiteBlog">
//   Copyright (c) 2012, LiteBlog. All Rights Reserved.
// </copyright>
// <summary>
//   The post info.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace LiteBlog.Common.Entities
{
    using System;
    using System.Collections.Generic;


    public class PostCollection
    {
        public PostCollection()
        {
            CategoryMap = new Dictionary<string, List<PostInfo>>();
            MonthMap = new Dictionary<string, List<PostInfo>>();
            TagMap = new Dictionary<string, List<PostInfo>>();
            Posts = new List<PostInfo>();
        }

        public Dictionary<string, List<PostInfo>> CategoryMap { get; set; }
        public Dictionary<string, List<PostInfo>> MonthMap { get; set; }
        public Dictionary<string, List<PostInfo>> TagMap { get; set; }
        public List<PostInfo> Posts { get; set; }
    }
}